-- GENERATED SPELL FOR [Venomous Cloud Serpent] --


function spell0_4118(pUnit, Event) --@Deadly Poison,n/a--
pUnit:FullCastSpellOnTarget(3583,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_4118', 2000, 1)
end

function Sorts_4118(pUnit, Event)
local choix_sorts_4118 = math.random(0, 0)
if choix_sorts_4118 == 0 then
pUnit:RegisterEvent('spell0_4118', 1, 1)
end
end

function mob4118_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_4118', math.random(1500, 3000), 1)
end

function mob4118_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4118_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4118_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(4118, 1, 'mob4118_Action')
RegisterUnitEvent(4118, 2, 'mob4118_Leave')
RegisterUnitEvent(4118, 3, 'mob4118_Kill')
RegisterUnitEvent(4118, 4, 'mob4118_Die')
